<template name="status-bar">
  <view>
    <!-- #ifdef H5 || MP-WEIXIN -->
    <view class="status_bar"><view class="top_view"></view></view>
    <!-- #endif -->
    
    <!-- #ifdef APP-PLUS -->
    <view class="status_bar"><view class="top_view"></view></view>
    <!-- #endif -->
    
  </view>
</template>

<script>
export default {
  name: "status-bar",
  data() {
    return {};
  }
};
</script>

<style>
  .headzhanwei{
    height: 47upx;
    background-color: #FFFFFF;
  }
.status_bar {
  height: var(--status-bar-height);
  width: 100%;
  background-color: #f8f8f8;
}
.top_view {
  height: var(--status-bar-height);
  width: 100%;
  position: fixed;
  background-color: #f8f8f8;
  top: 0;
  z-index: 999;
}
</style>
